	 <?php if($this->session->flashdata('error')):?>
	 <div class="notification error">
        <div class="notification-border-top"></div>
        <div class="notification-border-middle"> <span>Old Password Not Correct</span> </div>

        <div class="notification-border-bottom"></div>
      </div>
	  <?php endif;?>
	  
	  <?php if($this->session->flashdata('success')):?>
      <div class="notification success">
        <div class="notification-border-top"></div>
        <div class="notification-border-middle"> <span>Change Password Successfully</span> </div>
        <div class="notification-border-bottom"></div>
      </div>
	  <?php endif;?>

   
  
  <div class="frame">
    <div class="frame-border-top"></div>
    <div class="frame-border-middle">
      <h1 class="header">Change Password</h1>

      
      <div class="accordion">
        <div class="accordion-tab">
          <h1><a href="<?=site_url('dashboard');?>"><?=$this->session->userdata('user_id');?></a></h1>
          <div class="accordion-tab-open-close"></div>
          <div class="clear"></div>

        </div>
        <div class="accordion-panel">
          <div class="accordion-panel-border-top">
            <div class="accordion-panel-border-bottom">
              <form method="post" action="<?=site_url($action);?>" >
			  
				<div class="form-row padding-lr-5">
                  <label>Old Password</label>
                  <input type="password" value="" name="old_password"/>
                  <div class="clear"></div>
                </div>
				
				<div class="form-row padding-lr-5">
                  <label>New Password</label>
                  <input type="password" value="<?=$user['password'];?>" name="new_password"/>
                  <div class="clear"></div>
                </div>
				

                <div class="form-row padding-lr-15">
					<input class="submit" name="save"  value="Update" type="submit">
                  <div class="clear"></div>
                </div>
              </form>
            </div>
          </div>
        </div>
       
        
      
	  
    </div>
    <div class="frame-border-bottom-lined"></div>
  </div>
  
  
</div>

